# GPG密钥生成批处理文件
# 用于CentOS 7兼容的GPG密钥生成

%echo Generating backup GPG key
Key-Type: RSA
Key-Length: 2048
Subkey-Type: RSA
Subkey-Length: 2048
Name-Real: {{ backup_encryption_config.gpg.user_id | default('Backup System') }}
Name-Email: {{ backup_encryption_config.gpg.email | default('backup@localhost') }}
Expire-Date: 0
Passphrase: {{ backup_encryption_config.gpg.passphrase | default('') }}
%commit
%echo done